package com.yc.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author navy
 * @company 源辰信息
 * @date 2024/9/21
 * @email haijunzhou@hnit.edu.cn
 */
@RestController
public class UserDo {
    @RequestMapping("user")
    String user(HttpServletRequest request){
        return "user " + request.getServerPort();
    }

}
